<%--
  Created by IntelliJ IDEA.
  User: admin
  Date: 2017/10/26
  Time: 12:04
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" isELIgnored="false" session="true" %>
<%@taglib prefix="s" uri="http://www.springframework.org/tags" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>

<!DOCTYPE html>
<html>
<head>
    <base href="<%=basePath%>">
    <title><s:message code="M_1B00_REW_MANAGEMENT_TAG"/></title>
    <%@ include file="/page/comPage/comCSS.html" %>
    <%@ include file="/page/comPage/navbar.html" %>
</head>
<body>
<div class="container-fluid">
    <div class="col-sm-12 btnDivCss">
        <button class="btn btn-success" id="move_out_btn"><s:message code="MOVE_OUT_TAG" /></button>
        <button class="btn btn-primary" id="clean_btn"><s:message code="CLEAR_TAG" /></button>
    </div>
    <div class="col-sm-6">
        <fieldset>
            <legend><s:message code="PLEASE_INPUT_GLASS_CODE" ></s:message></legend>
        </fieldset>
        <form class="form-horizontal">
            <div class="form-group col-sm-6">
                <label class="control-label col-sm-4" for="opeIdSel">
                    <s:message code="OPE_ID_TAG" />
                </label>
                <div class="col-sm-8">
                    <select id="opeIdSel" class="form-control"></select>
                </div>
            </div>
            <div class="form-group col-sm-6">
                <label class="control-label col-sm-4" for="toolIdSel">
                    <s:message code="TOOL_ID_TAG" />
                </label>
                <div class="col-sm-8">
                    <select id="toolIdSel" class="form-control"></select>
                </div>
            </div>
            <div class="form-group col-sm-6">
                <label class="control-label col-sm-4" for="prdSeqIdTxt">
                    <s:message code="SHEET_ID_TAG" />
                </label>
                <div class="col-sm-8">
                    <input type="text" id="prdSeqIdTxt"  class="form-control"/>
                </div>
            </div>
        </form>
    </div>
    <div class="col-sm-6" >
        <fieldset>
            <legend><s:message code="SHEET_INFO_TAG" ></s:message></legend>
        </fieldset>
        <div class="col-sm-12 divTop">
            <div id="prodListDiv">
                <table id="prodListGrd"></table>
                <div id="prodListPg"></div>
            </div>
        </div>
    </div>
    <div class="col-sm-12" >
        <div class="col-sm-6" >
            <fieldset>
                <legend><s:message code="MTRL_INFO_TAG" ></s:message></legend>
            </fieldset>
            <div class="col-sm-12 divTop2">
                <div id="mtrlListDiv">
                    <table id="mtrlListGrd"></table>
                    <div id="mtrlListPg"></div>
                </div>
            </div>
        </div>
        <div class="col-sm-6" >
            <fieldset>
                <legend><s:message code="DEFECT_JUDGE_DETAIL_TAG" ></s:message></legend>
            </fieldset>
            <div class="col-sm-12 divTop2">
                <div id="defectJudgeDetailListDiv">
                    <table id="defectJudgeDetailListGrd"></table>
                    <div id="defectJudgeDetailListPg"></div>
                </div>
            </div>
        </div>
    </div>
    <div class="col-sm-12">
        <fieldset>
            <legend><s:message code="JUDGE_INFO_TAG" ></s:message></legend>
        </fieldset>
        <form class="form-horizontal col-sm-6">
            <fieldset>
                <legend><s:message code="DEFECT_JUDGE_TAG" ></s:message></legend>
            </fieldset>
            <div class="col-sm-12">
                <div class="form-group col-sm-8">
                    <label class="control-label col-sm-4" for="defectCodeSel">
                        <s:message code="DEFECT_CODE_TAG" />
                    </label>
                    <div class="col-sm-6">
                        <select id="defectCodeSel" class="form-control"></select>
                    </div>
                </div>
                <div class="form-group col-sm-8">
                    <label class="control-label col-sm-4" for="remarkTxt">
                        <s:message code="REMARK_INFO_TAG" />
                    </label>
                    <div class="col-sm-6">
                        <input id="remarkTxt" class="form-control" type="text"/>
                    </div>
                </div>
            </div>
        </form>
        <form class="form-horizontal col-sm-6">
            <fieldset>
                <legend><s:message code="PROCESS_JUDGE_TAG" ></s:message></legend>
            </fieldset>
            <div class="form-group col-sm-12">
                <div class="col-sm-4">
                    <label id="radioOldMainlb"><input type="radio" name="name" checked id="radioOldMain" checked="checked"/>
                        至下一制程
                    </label>
                </div>
            </div>
            <div div class="form-group col-sm-12"></div>
            <div class="form-group col-sm-12">
                <div class="col-sm-4">
                    <label id="radioFMAlb"><input type="radio" name="name" checked id="radioFMA" checked="checked"/>
                        至FMA站点
                    </label>
                </div>
            </div>
        </form>
    </div>
</div>
<!-- 不良信息 -->
<div id="defectDialog" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="title" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <!-- 模框头部 -->
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title"><s:message code="DEFECT_INFO_TAG" /></h4>
            </div>
            <!-- 模框主体 -->
            <div class="modal-body">
                <form class="form-horizontal row">
                    <div class="col-sm-12">
                        <label class="control-label col-sm-4" for="defectDialog_defectTypeSel">
                            <s:message code="DEFECT_TYPE_TAG" />
                        </label>
                        <div class="col-sm-6">
                            <select id="defectDialog_defectTypeSel" class="form-control"></select>
                        </div>
                    </div>
                </form>
                <form class="form-horizontal row">
                    <div class="col-sm-12" >
                        <fieldset>
                            <legend><s:message code="DEFECT_LIST_TAG" /></legend>
                        </fieldset>
                        <div id="defectDialog_defectListDiv">
                            <table id="defectDialog_defectListGrd"></table>
                            <div id="defectDialog_defectListPg"></div>
                        </div>
                    </div>
                </form>
            </div>
            <!-- 模框底部 -->
            <div class="modal-footer">
                <a id="defectDialog_cancelBtn" class="btn" data-dismiss="modal"> <s:message code="CANCEL_TAG" />
                </a> <a id="defectDialog_sureBtn" class="btn btn-primary"> <s:message code="SURE_TAG" />
            </a>
            </div>
        </div>
    </div>
</div>
<%@ include file="/page/comPage/comJS.html" %>
<script src="js/page/1000/1B00.js"></script>
</body>
</html>